Auto merge of #3978 - dethoter:separated-credentials, r=alexcrichton
authorbors <bors@rust-lang.org>
Tue, 13 Jun 2017 19:18:49 +0000 (19:18 +0000)
committerbors <bors@rust-lang.org>
Tue, 13 Jun 2017 19:18:49 +0000 (19:18 +0000)
Move API token into the separate file.

Fix of #3748. BTW, it's not clear what to do with old config.
Should I add a check for old config and try to remove [repository.token] field from it every time user add a new token?
Or should I just prefer to use a token field from a new config over the old one?

1  2 
src/cargo/util/config.rs

Simple merge